package com.wzdigit.wms.common.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 树形实体类
 * </p>
 *
 * @author shuimin_shi
 * @since 2020-08-07
 */
@Data
@Accessors(chain = true)
public class SimpleTree<T> {

	/**
	 * 节点的数据
	 */
	private T data;

	/**
	 * 树的子节点集
	 */
	private List<SimpleTree<T>> childs;
}
